/* config-overrides.js */

const SentryCliPlugin = require('@sentry/webpack-plugin');
module.exports = function override(config, env) {
  config.devtool = 'source-map';
  config.plugins.push(
    new SentryCliPlugin({
      release: '0.0.1',
      authToken: 'fcda006ce7904b94a9a27bb86020a2dd66d995a86f6d455cac06c3c21c76a898',
      url: 'http://127.0.0.1:9000',
      org: 'sentry',
      project: 'react-sentry',
      urlPrefix: '~/',
      include: './build',
      ignore: ['node_modules'],
    })
  );
  return config;
};